package com.fujun.cloud.order;

import com.fujun.cloud.order.config.DefaultFeignConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Hello world!
 *
 */
@EnableFeignClients(defaultConfiguration = DefaultFeignConfiguration.class)  // 启用 Feign 客户端
@MapperScan("com.fujun.cloud.order.mapper")
@SpringBootApplication
public class OrderApplication
{
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class , args) ;
    }
}